package com.itchen.hospital.mapper;

import com.itchen.hospital.pojo.Doctor;
import com.itchen.hospital.pojo.Params;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AppointmentMapper {

    /**
     * 根据条件查询
     * @param params
     * @return
     */
    List<Doctor> findBySearch(@Param("params") Params params);

    /**
     * 挂号
     * @param
     */
    void update(Doctor doctor);
}
